package com.example.forum.service.impl;

import com.example.forum.dao.LoginTicketDao;
import com.example.forum.domain.LoginTicket;
import com.example.forum.service.LoginTicketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginTicketServiceImpl implements LoginTicketService {
    @Autowired
    private LoginTicketDao loginTicketDao;

    @Override
    public LoginTicket findByTicket(String ticket) {
        return loginTicketDao.findByTicket(ticket);
    }
}
